

macro (configure_ogre_path OGREPATH)
	message(STATUS "Configure ogre include path...")
	

	if (APPLE)
		set(OGRE_PLATFORM ${OGREPATH}/OgreMain/include/OSX )
	elseif (UNIX)
		set(OGRE_PLATFORM ${OGREPATH}/OgreMain/include/GLX )
	else ()
		set(OGRE_PLATFORM ${OGREPATH}/OgreMain/include/WIN32 )
	endif ()
	
	
	set(OGRE_INCLUDE_PATH ${OGRE_PLATFORM} ${OGREPATH}/OgreMain/include 
	${OGREPATH}/Components/Paging/include
	${OGREPATH}/Components/Terrain/include
	${OGREPATH}/Components/RTShaderSystem/include
	${OGRE_BINARY_DIR}/include
	)
	
	set(PQ3D_OGRE_LIBS 
		OgreMain
		OgrePaging
		OgreTerrain
		OgreRTShaderSystem
		RenderSystem_Direct3D9
		RenderSystem_GL
		
		)
		
	message(STATUS "Ogre include path is:")
	message(STATUS "${OGRE_INCLUDE_PATH}")
	message(STATUS "output libs:")
	message(STATUS "${PQ3D_OGRE_LIBS}")
	
endmacro(configure_ogre_path)
